package com.taichuan.selfcheck.eventbus;

/**
 * 该类主要用于
 *
 * @author CamelLuo
 * @version 2020/7/8
 */
public class DoorOpenStateEvent {
    private boolean isDoorOpen = false;

    public DoorOpenStateEvent(boolean isDoorOpen) {
        this.isDoorOpen = isDoorOpen;
    }

    public boolean isDoorOpen() {
        return isDoorOpen;
    }

    @Override
    public String toString() {
        return "DoorOpenStateEvent{" +
                "isDoorOpen=" + isDoorOpen +
                '}';
    }
}
